package com.jn.erp.security.sysservice;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jn.erp.security.entity.SysUserRole;

import java.util.List;

/**
 * <pre>
 *
 * </pre>
 *
 * @author sunjiyong
 * @since 2024/8/28 15:44
 */
public interface SysUserRoleService extends IService<SysUserRole> {

 void insertUserRole(Long userId, Long[] roleIds,Long orgId);

 List<SysUserRole> getRolesByUserOrgId(Long userId,Long orgId);

}
